# -*- coding: utf-8 -*-
# @Time    : 2024/3/7 21:05
# @Author  : 顾安
# @File    : insert_start_url.py
# @Software: PyCharm

import redis


with redis.Redis(host='192.168.18.5', port=6379, db=0) as redis_client:
    redis_client.lpush('top250:start_urls', 'https://movie.douban.com/top250?start=0&filter=')
